<div class="game">
<table class="scoreboard-linescore" cellpadding="5" cellspacing="2">
  <tr>
    <th class="final">{{ game.game_status.status}} - Tied</th>
  {% for inning in game.linescore.innings %}
    <th>{{forloop.counter}}</th>
  {% endfor %}
    <th>R</th>
    <th>H</th>
    <th>E</th>
  </tr>
  <tr>
    <td class="team">{{game.away_name_abbrev}} ({{game.away_win}}-{{game.away_loss}})</td>
  {% for inning in game.linescore.innings %}
    <td>{{inning.away}}</td>
  {% endfor %}
    <td> {{ game.linescore.r.away }}</td>
    <td> {{ game.linescore.h.away }}</td>
    <td> {{ game.linescore.e.away }}</td>
  </tr>
  <tr>
    <td class="team">{{game.home_name_abbrev}} ({{game.home_win}}-{{game.home_loss}})</td>
  {% for inning in game.linescore.innings %}
    {% if inning.home %}
      <td>{{inning.home}}</td>
    {% else %}
      <td>x</td>
    {% endif %}
  {% endfor %}
    <td>{{ game.linescore.r.home }}</td>
    <td>{{ game.linescore.h.home }}</td>
    <td>{{ game.linescore.e.home }}</td>
  </tr>
</table>
<table class="scoreboard-notes" cellpadding="5" cellspacing="2">
  <tr>
    <td colspan="2">
      <strong>W:</strong> {{game.winning_pitcher.last}} ({{game.winning_pitcher.wins}}-{{game.winning_pitcher.losses}}) <strong>L:</strong> {{game.losing_pitcher.last}} ({{game.losing_pitcher.wins}}-{{game.losing_pitcher.losses}})
    {% ifnotequal game.save_pitcher.saves "0" %}
      <strong>S:</strong> {{game.save_pitcher.last}} ({{game.save_pitcher.saves}})
    {% endifnotequal %}
  {% if game.home_runs.homeruns %}
      <br /><strong>HR:</strong> 
      {% for hr in game.home_runs.homeruns %}
        {{hr.last}} 
        {% ifnotequal hr.hr "1" %}
          {{hr.hr}}
        {% endifnotequal %}
        ({{hr.std_hr}})
      {% endfor %}
    {% endif %}
  </td>
  </tr>
  <tr>
    <td class="scoreboard-links" colspan="2">
      <a href="/boxscore?gid={{game.gameday}}">boxscore</a> - <a href="/highlights?year={{selDay.year}}&amp;month={{selDay.month}}&amp;day={{selDay.day}}&amp;gid={{game.gameday}}">highlights</a> <!--<a href="{{game.id}}">alerts</a>-->
      <br />{{game.time}} {{game.time_zone}} start from {{game.venue|escape}}
    </td>
  </tr>
</table>

</div>